package com.ipzoe.common.bean.entity;

import com.ipzoe.common.util.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 用户信息
 * <p>
 * Created 2018/01/19.
 *
 * @author pfzhang
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "Profile", description = "用户信息")
public class Profile extends BaseEntity {

    /** 状态 正常 = 0 */
    public static final Integer STATUS_NORMAL = 0;
    /** 状态 冻结 = 1 */
    public static final Integer STATUS_BLOCKED = 1;

    /** 昵称 */
    @ApiModelProperty("昵称")
    private String nickname;

    /** 状态 */
    @ApiModelProperty("状态")
    private Integer status;
}
